package com.jgzx.domain.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class IdDTO implements Serializable{
    @ApiModelProperty(value = "ID主键", example = "null")
    @NotNull(message = "id主键不能为空")
    private Long UserId;
}
